package cn.waqwb.bwcar.service;

import cn.waqwb.bwcar.dto.ArticleDTO;
import cn.waqwb.bwcar.dto.DataGridResult;
import cn.waqwb.bwcar.dto.QueryDTO;
import cn.waqwb.bwcar.pojo.Article;

/**
 * @author JokerQ
 * @date 2019/11/18 - 15:21
 */
public interface ArticleService {

    public int addArticle(ArticleDTO articleDTO);

    public void delArticle(Long id);

    public int updateArticle(ArticleDTO articleDTO);

    public Article findById(Long id);

    public DataGridResult findByPage(QueryDTO queryDTO);
}
